#!/bin/bash
echo "Setting default language to zh_CN.UTF-8 and disabling nouveau errors..."
sed -i 's/^LANG=.*/LANG=zh_CN.UTF-8/' /etc/default/locale
echo -e "blacklist nouveau
options nouveau modeset=0" > /etc/modprobe.d/blacklist-nouveau.conf
update-initramfs -u
